package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName app_user_vip
 */
@TableName(value ="app_user_vip")
@Data
public class AppUserVip implements Serializable {
    /**
     * 会员ID
     */
    @TableId(value = "vip_id", type = IdType.AUTO)
    private Integer vipId;

    /**
     * 会员类型外键
     */
    @TableField(value = "vip_type_id")
    private Integer vipTypeId;

    /**
     * 生效日期
     */
    @TableField(value = "vip_start_indate")
    private Date vipStartIndate;

    /**
     * 截止日期
     */
    @TableField(value = "vip_end_indate")
    private Date vipEndIndate;

    /**
     * 付款金额
     */
    @TableField(value = "pay")
    private Double pay;

    /**
     * 支付方式（0微信 1支付宝）
     */
    @TableField(value = "mode")
    private Integer mode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}